
#ifndef ERRORS_H
#define ERRORS_H

#define PANIC(msg) panic(msg, __FILE__, __LINE__);
#define ASSERT(b) ((b) ? (void)0 : panic_assert(__FILE__, __LINE__, #b))

extern void panic(char *, char *, u32int );
extern void panic_assert(char *, u32int , char *);

#endif /* ERRORS_H */
